home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
dev
/
gcc
/
ixemulsrc.lha
/
ixemul-41.4
/
gnulib-soft-float
/
fixunsdfsi.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-08-19
|
194b
|
13 lines
#include "common.h"
#include "limits.h"
unsigned SItype
__fixunsdfsi (a)
double a;
{
if (a >= - (double) LONG_MIN)
return (SItype) (a + LONG_MIN) - LONG_MIN;
return (SItype) a;
}